package com.koi.model.vo.system;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author ･ᴗ･
 * @description [登录-模型][Vo类]
 */
@Data
public class SysLoginVo {

    /**
     * 账户
     */
    @NotBlank(message = "请输入登录名")
    private String loginName;

    /**
     * 密码
     */
    @NotBlank(message = "请输入密码")
    private String password;

    /**
     * 验证码uuid，用来获取redis的验证码
     */
    @NotBlank(message = "验证码已失效")
    private String codeKey;

    /**
     * 验证码
     */
    @NotBlank(message = "请输入验证码")
    private String securityCode;

    /**
     * 记住登录，默认为：false
     */
    private Boolean rememberMe = false;

}
